DataAdapter Demo: BDP
=====================

General
=======

	This project demonstrates how to use BDP components to provide live data at design time as well as data resolving at runtime. The project requires that you have installed Interbase 7.5 to its default location along with the sample employee.gdb database. 

How To Build from New Project
=============================
1) File | New | Windows Forms Application
2) Drop on the Design Surface the following components:
	BdpConnection
	BdpDataAdapter
	DataGrid
	Button x 2
3) Configure the BdpConnection
	To do this, right click on BdpConnection1, and select "Connection Editor".  Add a new Interbase Connection named "LocalInterbase", and then set the "Database" property by browsing to the "employee.gdb" in the Interbase sample database directory. Close the dialog.
4) Configure the BdpDataAdapter
	To do this, right click on BdpDataAdapter1, and select "Configure Data Adapter". Select a Table from the list of available tables and then click the button "Generate SQL". Use the "Preivew Data" tab to preview the data in the table specified in the previous step. Click on the "DataSet" tab next and choose to create a new DataSet. Close the Dialog by clicking "OK".
5) Activate the BdpDataAdapter in the Object Inspector
6) Set the DataSource and DataMember properties of the DataGrid to dataSet1 and the appropriate table name
7) Generate a Click event on the first button and add the following line of code to the event handler.
	BdpDataAdapter1.Active = false;
	BdpDataAdapter1.Active = true;
8) Switch back to design view and generate a Click event for the second button. Add the following line of code to the event handler.
	BdpDataAdapter1.AutoUpdate();	
9) Build and Run the Application

How To Use
==========

Run The Application
Use Keyboard Navigation to move around the DataGrid
Make changes to the data
Click the Apply Updates Button
Click the Refresh Button
